﻿using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using QunYing.Model;
namespace QunYing.BLL
{
	/// <summary>
	/// VipInfo
	/// </summary>
	public partial class VipInfo
	{
	    /// <summary>
        /// 得到一个对象实体
        /// </summary>
        public QunYing.Model.VipInfo GetModelByID(string ID)
        {
            return dal.GetModelByID(ID);
        }
        /// <summary>
        /// 经销商会员信息
        /// </summary>
        /// <param name="DealerID"></param>
        /// <param name="strCity"></param>
        /// <param name="strGrade"></param>
        /// <param name="strPay"></param>
        /// <returns></returns>
        public DataTable QueryVipInfo(string DealerID, string strCity, string strGrade, string strPay)
        {
            return dal.QueryVipInfo(DealerID, strCity, strGrade, strPay);
        }

        /// <summary>
        /// 经销商会员信息(主页)
        /// </summary>
        /// <returns></returns>
        public DataTable QueryIndexVipInfo(string DealerID, string num)
        {
            return dal.QueryIndexVipInfo(DealerID, num);
        }

         /// <summary>
        /// 查询经销商下属会员
        /// </summary>
        /// <param name="DealerID"></param>
        /// <returns></returns>
        public DataTable QueryVip(string DealerID)
        {
            return dal.QueryVip(DealerID);
        }

        /// <summary>
        /// 查询经销商下属会员数
        /// </summary>
        /// <param name="DealerID"></param>
        /// <returns></returns>
        public DataSet QueryVip(string DealerID, DateTime startDate, DateTime endDate, string isDealer)
        {
            return dal.QueryVip(DealerID, startDate, endDate,isDealer);
        }
	}
}

